<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/1/18
 * Time: 15:39
 */

namespace addons\admin\service;


class UserApplyCash
{

    /**
     * @param array $param
     * @return \app\common\model\UserApplyCash
     */
    static function examine_cash($id,$param=[])
    {
        $m = new \app\common\model\UserApplyCash();
        $cash = $m->find($id);
        $cash->memo = $param['memo'];
        $cash->status = $param['status'];
        $cash->save();
        return $m;
    }

}